import { createApp } from 'vue'
import { createPinia } from 'pinia'

import TDesign from 'tdesign-vue-next';
// 引入组件库的少量全局样式变量
import 'tdesign-vue-next/es/style/index.css';
import App from './App.vue'
import router from './router'
import vant from "vant"  //1.引入vant

import 'vant/lib/index.css'; //2.引入vant样式

// 引入封装的http
import http from './http'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(TDesign);
app.use(vant)
app.mount('#app')
